using B.S.XZYData.ErrorCode;
using MediatR;

namespace B.S.XZYData.Api.Wrter.Application.Command.ZSH
{
	/// <summary>
	/// 编辑不良品项命令
	/// </summary>
	public class UpdateDefectiveCommand : IRequest<ApiResult<int>>
	{
		/// <summary>
		/// 主键 Id（必填）
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 不良品项编号（可修改）
		/// </summary>
		public string DefectiveCode { get; set; }

		/// <summary>
		/// 不良品项名称（可修改）
		/// </summary>
		public string DefectiveName { get; set; }

		/// <summary>
		/// 附件路径
		/// </summary>
		public string? AttachmentPath { get; set; }

		/// <summary>
		/// 图片路径
		/// </summary>
		public string? ImagePath { get; set; }

		/// <summary>
		/// 修改人 Id
		/// </summary>
		public int ModifierId { get; set; }
	}
}
